//
//  AppDelegate.swift
//  WeiBOzhu
//
//  Created by STW-02 on 18/10/30.
//  Copyright © 2018年 STW-02. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        //手动的添加视图 
        // 设置全局的颜色
        UITabBar.appearance().tintColor = UIColor.orange
        // 创建window 
         window = UIWindow(frame: UIScreen.main.bounds) //尺寸
        //  设置根控制器
         window?.rootViewController = MainViewController()
         //让根视图显示到根控制器上去
         window?.makeKeyAndVisible()
        
        
        return true
    }

  
}

